package pl.krzosekm.vehicleregister.service;

import org.springframework.beans.factory.annotation.Autowired;

import pl.krzosekm.vehicleregister.dao.CustomerDAO;
import pl.krzosekm.vehicleregister.model.Customer;

public class CustomerServiceImpl extends BaseService implements CustomerService {

    @Autowired
    private CustomerDAO customerDAO;
    
    public void save(Customer customer) {
    	customerDAO.save(customer);

    }

    public void setCustomerDAO(CustomerDAO customerDAO) {
    	this.customerDAO = customerDAO;
    }

    public CustomerDAO getCustomerDAO() {
    	return customerDAO;
    }

}
